#ifndef __STATUS_H_
#define __STATUS_H_

#define	PXENV_EXIT_SUCCESS	0x0000
#define PXENV_EXIT_FAILURE	0x0001

#define	PXENV_STATUS_SUCCESS		0x00
#define PXENV_STATUS_FAILURE		0x01

#define PXENV_STATUS_BAD_FUNC		0x02
#define	PXENV_STATUS_UNSUPPORTED	0x03
#define	PXENV_STATUS_KEEP_UNDI		0x04
#define	PXENV_STATUS_KEEP_ALL		0x05
#define	PXENV_STATUS_OUT_OF_RESOURCES	0x06

/* ARP */
#define	PXENV_STATUS_ARP_TIMEOUT	0x11

#define	PXENV_STATUS_UDP_CLOSED		0x18
#define PXENV_STATUS_UDP_OPEN		0x19
#define PXENV_STATUS_TFTP_CLOSED	0x1a
#define PXENV_STATUS_TFTP_OPEN		0x1b

#define	PXENV_STATUS_MCOPY_PROBLEM		0x20
#define	PXENV_STATUS_BIS_INTEGRITY_FAILURE	0x21
#define PXENV_STATUS_BIT_VALIDATE_FAILURE	0x22
#define	PXENV_STATUS_BIT_INIT_FAILURE		0x23
#define	PXENV_STATUS_BIT_SHUTDOWN_FAILURE	0x24
#define	PXENV_STATUS_BIT_GBOA_FAILURE		0x25
#define PXENV_STATUS_BIT_FREE_FAILURE		0x26
#define PXENV_STATUS_BIT_GSI_FAILURE		0x27
#define PXENV_STATUS_BIT_BAD_CKSUM		0x28

#define	PXENV_STATUS_TFTP_CANNOT_ARP_ADDRESS	0x30
#define PXENV_STATUS_TFTP_OPEN_TIMEOUT		0x32

#endif

